package cn.com.qtgl.apis.iam.model.input;

import cn.melonlib.cores.commons.model.entity.ApiEntity;
import cn.melonlib.cores.commons.model.entity.StringIdEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ModelComment("三元组输入")
public class TripleInput extends StringIdEntity implements ApiEntity {

    @ModelComment("部门")
    private DepartmentInput dept;

    @ModelComment("岗位")
    private PostInput post;

    @ModelComment("用户")
    private UserInput user;

    @ModelComment("开始时间")
    private Long startTime;

    @ModelComment("结束时间")
    private Long endTime;

    @ModelComment("描述")
    private String description;

    @ModelComment("标签")
    private String tags;

    @ModelComment("是否启用")
    private Boolean active;

    @ModelComment("排序")
    private Integer index;

    @ModelComment("编号")
    private String code;


    @ModelComment("来源")
    private String source;

    @ModelComment("证件号码")
    private String cardNo;

    @ModelComment("证件类型")
    private String cardType;
}
